package com.axjy.mapper;

import com.axjy.pojo.Systemconfig;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by asus on 2018/3/10.
 */
public interface ConfigMapper {
    /**
     * 查询系统配置
     * @return
     */
    public List<Systemconfig> search();

    /**
     * 联动
     * @param configCode
     * @return
     */
    public List<Systemconfig> getByCode(String configCode);

    /**
     * 修改状态
     * @param isStart
     * @param configCode
     * @param valueName
     */
    public void updateStatus(@Param("isStart") Integer isStart, @Param("configCode") String configCode, @Param("valueName") String valueName);
}
